package com.hefei.service;

import com.hefei.entity.CustInfo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

public interface CustInfoService {

    //查询全部客户信息
    //@Select("select * from cust_info")
    List<CustInfo> findAll();

    //@Insert("insert into cust_info (cust_no,cust_name,cust_levle,create_time,last_modify_time,delete_flag) values (#{custNo},#{custName},#{custLevel},#{createTime},#{lastModifyTime},#{deleteFlag})")
    int add(CustInfo custInfo);

    int delete(String  custNo);


}
